package com.dayuanit.dy8.mall.springbootmall.service;

import com.dayuanit.dy8.mall.springbootmall.dto.CartDTO;

import java.util.List;

public interface CartService {

    void add(int commonId, int buyNum, int userId);

    List<CartDTO> listCart(int userId);
}
